package com.junzhiit.nengji.api.web.controller;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.junzhiit.nengji.api.service.RechargeConfigureService;
import com.junzhiit.nengji.api.web.vo.DataTablesParamVO;
import com.junzhiit.nengji.api.web.vo.RechargeConfigureVO;

import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("/recharge/configure")
public class RechargeConfigureController extends BaseController {
	
	@Autowired
	private RechargeConfigureService rechargeConfigureService;
	
	@ApiOperation(value = "获取所有充值列表")
	@RequestMapping(value="/all",method = RequestMethod.GET)
	public Map<String, Object> findAll(RechargeConfigureVO vo,DataTablesParamVO dtp){
		
		return rechargeConfigureService.findAll(vo, dtp);
	}
}
